<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title></title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<style type="text/css">
		ul li {display: inline; margin: 0 5px;}
	</style>
</head>
<body>
	<ul class="pagination">
	<?php
		$count=0;
		while ($count<= 10) {
			if ($count==7) {
				echo "...";
			}else{
				echo "<li><a href='{$count}'>{$count}</a></li>";	
			}
			$count++;
		}
	?>
	</ul>
</body>
</html>